package vote.ai.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Schema(description = "用户纠错字符限制")
@TableName(value = "user_correction_char_limit", autoResultMap = true)
public class UserCorrectionCharLimit implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.INPUT)
    private Long userId;
    private String name;
    private int totalCharLimit;
    private int usedCharLimit;
    @Version
    private int version;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
}
